package com.yyxk.thousandtime;

import android.databinding.DataBindingUtil;
import com.yyxk.thousandtime.base.BaseActivity;
import com.yyxk.thousandtime.base.BasePresenter;
import com.yyxk.thousandtime.bean.Test;
import com.yyxk.thousandtime.databinding.ActivityMainBinding;

public class MainActivity extends BaseActivity {


    @Override
    public BasePresenter initPresenter() {
        return null;
    }

    @Override
    public int setLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    public void init() {
        ActivityMainBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_main);
        binding.setTest(new Test().setStr("lalaal"));
    }

    @Override
    public void onRefresh() {

    }
}
